<div id="js_register_step2">
    {plugin call='user.template_default_block_register_step2_6'}
    {if !isset($bIsPosted) && Phpfox::getParam('user.multi_step_registration_form')}
    <div class="p_bottom_10">{phrase var='user.complete_this_step_to_setup_your_personal_profile'}</div>
    {/if}
    {if Phpfox::getParam('core.registration_enable_dob')}
    <div class="table">
	<?php /* 	
	  <div class="table_left">
	  {required}{phrase var='user.birthday'}:
	  </div>
	 * 
	 */ ?>
	<strong>{required}{phrase var='user.birthday'}</strong>
	<div class="table_right">						
	    {select_date start_year=$sDobStart end_year=$sDobEnd field_separator=' / ' field_order='MDY' bUseDatepicker=false sort_years='DESC'}
	</div>			
    </div>
    {/if}
    {if Phpfox::getParam('core.registration_enable_gender')}
    <div class="table">
	<?php /*
	  <div class="table_left">
	  <label for="gender">{required}{phrase var='user.i_am'}:</label>
	  </div>
	 * 
	 */ ?>

	<div class="table_right">	    
	    <strong>{required}{phrase var='user.i_am'}</strong>
	    {select_gender}
	</div>			
    </div>
    {/if}	
    {if Phpfox::getParam('core.registration_enable_location')}
    <div class="table">
	<div class="table_left">
	    <label for="country_iso">{required}{phrase var='user.location'}:</label>
	</div>
	<div class="table_right">
	    {select_location}
	    {module name='core.country-child' country_force_div=true}
	</div>			
    </div>		
    {/if}
    {if Phpfox::getParam('core.registration_enable_timezone')}
    <div class="table">
	<div class="table_left">
	    {phrase var='user.time_zone'}:	
	</div>
	<div class="table_right">
	    <select name="val[time_zone]">
		{foreach from=$aTimeZones key=sTimeZoneKey item=sTimeZone}
		<option value="{$sTimeZoneKey}"{if (Phpfox::getTimeZone() == $sTimeZoneKey && !isset($iTimeZonePosted)) || (isset($iTimeZonePosted) && $iTimeZonePosted == $sTimeZoneKey) || (Phpfox::getParam('core.default_time_zone_offset') == $sTimeZoneKey)} selected="selected"{/if}>{$sTimeZone}</option>
		{/foreach}
	    </select>
	</div>
	<div class="clear"></div>
    </div>		
    {/if}
    {plugin call='user.template_default_block_register_step2_7'}
    {template file='user.block.custom'}
    {plugin call='user.template_default_block_register_step2_8'}
    {if Phpfox::isModule('subscribe') && Phpfox::getParam('subscribe.enable_subscription_packages') && count($aPackages)}
    <div class="separate"></div>
    <div class="table">
	<div class="table_left">
	    {if Phpfox::getParam('subscribe.subscribe_is_required_on_sign_up')}{required}{/if}{phrase var='user.membership'}:	
	</div>
	<div class="table_right">
	    <select name="val[package_id]" id="js_subscribe_package_id">
		{if Phpfox::getParam('subscribe.subscribe_is_required_on_sign_up')}				
		<option value=""{value type='select' id='package_id' default='0'}>{phrase var='user.select'}:</option>
		{else}
		<option value=""{value type='select' id='package_id' default='0'}>{phrase var='user.free_normal'}</option>
		{/if}
		{foreach from=$aPackages item=aPackage}
		<option value="{$aPackage.package_id}"{value type='select' id='package_id' default=''$aPackage.package_id''}>{if $aPackage.show_price}({if $aPackage.default_cost == '0.00'}{phrase var='subscribe.free'}{else}{$aPackage.default_currency_id|currency_symbol}{$aPackage.default_cost}{/if}) {/if}{$aPackage.title|convert|clean}</option>
		{/foreach}
	    </select>
	    <div class="extra_info">
		<a href="#" onclick="tb_show('{phrase var='user.membership_upgrades' phpfox_squote=true}', $.ajaxBox('subscribe.listUpgradesOnSignup', 'height=400&width=500'));
			return false;">{phrase var='user.click_here_to_learn_more_about_our_membership_upgrades'}</a>
	    </div>
	</div>
	<div class="clear"></div>
    </div>				
    {/if}
</div>

{module name='user.showspamquestion'}

{if Phpfox::getParam('user.force_user_to_upload_on_sign_up')}
<div class="separate"></div>
<div class="table">
    <div class="table_left">
	{required}{phrase var='user.profile_image'}:
    </div>
    <div class="table_right">
	<input type="file" name="image" />
	<div class="extra_info">
	    {phrase var='user.you_can_upload_a_jpg_gif_or_png_file'}
	</div>
    </div>			
</div>
{/if}

